﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<dynamic>" %>
<div id="nav">
    <ul>
        <%foreach (XianboSite.Models.LiveCategory item in (IList<XianboSite.Models.LiveCategory>)ViewData["categories"])
          {%>
        <li>
            <%= Html.ActionLink(item.CategoryName, "CategoryLive", "Live", new { name = item.CategoryName }, new { style = "color:wheat;text-decoration: none;font-size:16px;" })%>
        </li>
        <%} %>
    </ul>
</div>
